package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业信息对象 tb1_spec
 * 
 * @author xymc
 * @date 2022-11-14
 */
public class Tb1Spec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专业信息自动编号 */
    private Long spId;

    /** 专业信息编号 */
    @Excel(name = "专业信息编号")
    private String specId;

    /** 专业信息名称 */
    @Excel(name = "专业信息名称")
    private String specName;

    /** 系部编号(1机电系 2电子系 3计算机系 4国贸系 5经管系 6环材系 7艺术系) */
    @Excel(name = "系部编号(1机电系 2电子系 3计算机系 4国贸系 5经管系 6环材系 7艺术系)")
    private String deptId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remark1;

    public void setSpId(Long spId) 
    {
        this.spId = spId;
    }

    public Long getSpId() 
    {
        return spId;
    }
    public void setSpecId(String specId) 
    {
        this.specId = specId;
    }

    public String getSpecId() 
    {
        return specId;
    }
    public void setSpecName(String specName) 
    {
        this.specName = specName;
    }

    public String getSpecName() 
    {
        return specName;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("spId", getSpId())
            .append("specId", getSpecId())
            .append("specName", getSpecName())
            .append("deptId", getDeptId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark1", getRemark1())
            .toString();
    }
}
